#
# Makefile pour generer le moteur de workflows
#


#
# Constantes
#
CC=gcc
SRC=main.o
OBJS=main.o
LIBS= -L ../Socket -lsck -L ../Threads -lthrd -lpthread -L /usr/include/libxml2 -lxml2  -L ../IPC -lipc -lm
CFLAGS += -I ../Socket -I ../Threads -I ../IPC -I /usr/include/libxml2
INC_DIR=
LIB_DIR=

#
# Cible principale
#

all: admin
	@echo $(CFLAGS)

#
# Cible debug
#


#
# Cible de nettoyage
#

clean:
	@echo
	@echo Debut du nettoyage Workflow_admin
	rm -f *.o admin
	@echo Debut du nettoyage Workflow_admin
	@echo

#
# Executable target
#
admin: $(OBJS)
	$(CC) -o admin $(OBJS) $(CFLAGS) $(LIBS) 

main.o: main.c